package com.yuyou.fn.platform.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.platform.entity.UserNotifyConfig;
import com.yuyou.fn.platform.vo.UserNotifyConfigSaveVo;

import java.util.List;

/**
 *
 * UserNotifyConfig 表数据服务层接口
 *
 */
public interface IUserNotifyConfigService extends ISuperService<UserNotifyConfig,Long> {

    void saveOrUpdateNotifyConfig(Long userId, UserNotifyConfigSaveVo userNotifyConfigSaveVo);

    UserNotifyConfig findNotifyConfigByUserIdWay(long userId,int way);

    List<UserNotifyConfig> findNotifyConfigByWay(int way);

    void updateEmailNotifyConfigState(long userId,int state);
}